const state = {
  wxUserAc: {},
  wxUser: {},
  // 是否登录了
  isLogin: false
}

const mutations = {
  wxUserAc: (state, user) => {
    state.wxUserAc = user
  },
  wxUser: (state, user) => {
    state.wxUser = user
  },
  isLogin: (state, login) => {
    state.isLogin = login
  }
}

export default {
  namespaced: true,
  state,
  mutations
}
